package demo;

public class MyAction extends ExampleSupport {
        /**
     * Provide default valuie for Message property.
     */
    public static final String MESSAGE = "HelloWorld.message";
    
    private String param1;
    
    public String getParam1() {
                return param1;
        }

        public void setParam1(String param1) {
                this.param1 = param1;
        }

        public String getParam2() {
                return param2;
        }

        public void setParam2(String param2) {
                this.param2 = param2;
        }

        private String param2;
    
        public String urlAction() throws Exception {
                System.out.println("param1<" + param1 + "> param2<" + param2 + ">");
        return SUCCESS;
    }
}